package com.student.cqlg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Page Controller
 */
@Controller
public class PageController {
    /**
     * 127.0.0.1/login ---- get
     */
    @GetMapping(value = "/login")
    public String loginPage() {
        return "index1";
    }

    /**
     * 127.0.0.1/index ---- get
     */
    @GetMapping(value = "/index")
    public String dataPage() {
        return "index2";
    }

}
